﻿using MRSite.Cache.Configuration;
using MRSite.Cache.Memory;
using MRSite.Common.Kernels;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MRSite.Cache
{
    public class CacheKernel : BaseKernel
    {
        public override void PostInit()
        {
            base.PostInit();
        }

        public override void Init()
        {
            CtnManager.Regist(typeof(ICacheConfiguration), typeof(CacheConfiguration));
            CtnManager.Regist(typeof(ICacheManager), typeof(ShanYuMemoryCacheManager));
        }
    }
}
